@blue : #008cba;

body {
  background: rgb(235, 235, 235);
  font-size: 13px;
}

a {
  &:hover, &:visited {
    text-decoration: none;
  }
}

.btn {
  padding: 5px 10px;
}

.btn-xs {
  padding: 2px 5px;
}

.header {
  margin-bottom: 0;
  .navbar-header {
    width: 150px;
  }
}

.header .navbar-header .navbar-brand {
  font-size: 18px;
}

#header {
  .dropdown-menu {
    width: 100px;
    min-width: 100px;
    background: #FFF;
    border: 1px solid #CCC;
    li {
      &.divider {
        margin: 2px 0;
      }
      a {
        color: #666;
        &:hover {
          background: #EEE;
        }
      }
    }
  }
}

.footer {
  padding: 0 20px;
  line-height: 35px;
  height: 35px;
  min-height: 35px;
  margin: 0;
  color: #FFF;
  background: #f5f5f5;
  color: #999;
  clear: both;
  text-align: right;
  font-size: 12px;
  border-top: 1px solid #CCC;
  overflow: hidden;
}

.footer-install {
  color: #666;
  text-align: left;
}

#frame-menu {
  width: 150px;
  float: left;
  background: #F2F2F2;
  border-right: 2px solid @blue;
  .top-btns {
    height: 41px;
    padding: 5px 0;
    border-bottom: 1px solid rgb(229, 229, 229);
    overflow: hidden;
    a {
      display: block;
      height: 31px;
      line-height: 31px;
      width: 25%;
      background: #FFF;
      text-align: center;
      color: @blue;
      float: left;
      border: 2px solid #F2F2F2;
      border-top: none;
      border-bottom: none;
      &:hover {
        background: #F8F8F8;
      }
    }
  }
  .m-1 {
    display: block;
    line-height: 14px;
    text-decoration: none;
    color: #585858;
    border-top: 1px solid #fcfcfc;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    background: #f9f9f9;
    padding: 10px;
  }

  .m-1-show {
    color: @blue;
  }

  .m-2-box {
    padding: 5px 0;
    display: none;
  }

  .m-2-box-show {
    display: block;
  }

  .m-2 {
    padding-left: 20px;
    display: block;
    color: #333;
    text-decoration: none;
    line-height: 30px;
    &:hover {
      color: #666;
    }
  }

  .m-2-show {
    color: @blue;
  }

  .m-3-box {
    display: none;
    padding: 5px 0;
  }

  .m-3-box-show {
    display: block;
  }

  .m-3 {
    display: block;
    padding-left: 30px;
    color: #333;
    text-decoration: none;
    line-height: 30px;
    &:hover {
      color: #007196;
    }
  }

  .m-3-show {
    color: #007196;
    font-weight: bold;
    background: #FFF;
    //border: 1px solid #CCC;
    border: none;
    border-right: 5px solid @blue;
  }

}

.frame-content-warp {
  padding-left: 150px;
  #frame-content {
    background: #FFF;
  }
}

#page-title-bar {
  background: rgb(245, 245, 245);
  height: 40px;
  padding: 10px;
  line-height: 20px;
  border-bottom: 1px solid rgb(229, 229, 229);
  color: rgb(57, 57, 57);
  font-size: 13px;
  .title {
    color: @blue;
    font-weight: bold;
    margin-right: 20px;
  }
  button, a {
    height: 20px;
    line-height: 20px;
    font-size: 13px;
    padding: 0 5px;
    margin: 0 10px 0 0;
    border: none;
    display: inline-block;
    vertical-align: middle;
    color: @blue;
    border: 1px solid @blue;
    background: #FFF;
    &:hover {
      background: #EEE;
      text-decoration: none;
    }
    &:hover, &:linked {
      text-decoration: none;
    }
  }
}

#page-content {
  padding: 15px;
  overflow: hidden;
}

form {
  padding: 5px;
  .control-label {
    text-align: right;
  }
  .form-line {
    padding: 10px 0;
    input {
      width: auto;
    }
  }
  .form-inline {
    width: auto;
    display: inline;
  }
}

.text-disable {
  color: #CCC;
}

.text-gray {
  color: #999;
}

.breadcrumb {
  font-size: 13px;
}

.bootgrid-table {
  table-layout: auto !important;
}

.bootgrid-header {
  margin: 0 !important;
}

#login-box {
  max-width: 300px;
  margin: 0 auto;
  border: 5px solid #FFF;
  h3 {
    margin: 0;
    padding: 0;
    text-align: center;
    color: #666;
  }
}

#table-grid {
  td {
    vertical-align: middle;
  }
}

form {
  .help-block {
    color: #999;
  }
}

///////////////////// 微信菜单开始 /////////////////////
.wechat-integrate-menu-box {
  overflow: hidden;
  padding: 10px;
  .e-wechat-menu-submit, .e-wechat-menu-upload {
    background: green;
    color: #FFF;
    display: block;
    line-height: 30px;
    width: 100px;
    float: right;
    text-align: center;
    font-size: 14px;
    text-decoration: none;
    margin-left: 10px;
  }
  .tips {
    color: #999;
    line-height: 40px;
  }
  .box-left {
    float: left;
    width: 318px;
    background: #FFF;
  }
  .box-right-wrap {
    padding-left: 350px;

  }
  .box-right {
    position: relative;
    border: 1px solid #e7e7eb;
    background-color: #f4f5f9;
    height: 500px;
    padding: 10px;
    width: 100%;
    .arraw {
      width: 0;
      height: 0;
      font-size: 0;
      border-width: 20px;
      border-color: transparent;
      border-style: solid;
      border-right-color: #e7e7eb;
      position: absolute;
      bottom: 0;
      left: -40px;
      display: inline-block;
    }
    .title {
      border-bottom: 1px solid #CCC;
      padding: 0 10px 10px 0px;
      color: #666;
    }
    .e-menu-delete {
      float: right;
      color: red;
    }
    .form {
      padding: 0px;
      .line {
        overflow: hidden;
        margin: 10px 0;
      }
    }
  }
}

.wechat-preview {
  box-shadow: 0 0 10px #ccc;
  position: relative;
  width: 318px;
  height: 500px;
  background: transparent url(wechat_bg_mobile_head.png) no-repeat 0 0;
  border: 1px solid #CCC;
  border-bottom: none;
  .wechat-head {
    text-align: center;
    color: #FFF;
    font-size: 14px;
    padding-top: 35px;
  }
  .wechat-body {

  }
  .wechat-menu {
    position: absolute;
    height: 50px;
    width: 316px;
    bottom: 0;
    left: 0;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    background: transparent url(wechat_bg_mobile_foot.png) no-repeat 0 0;
    padding-left: 44px;
    .menus {
      height: 48px;
      width: 272px;
      ul {
        margin: 0;
        padding: 0;
      }
      li {
        list-style: none;
        padding: 0;
        margin: 0;
        &.empty {
          a {
            font-size: 16px;
            color: #CCC;
          }
        }
      }
      a {
        display: block;
        width: auto;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        word-wrap: normal;
        color: #616161;
        text-decoration: none;
        background: #FAFAFA;
        height: 48px;
        line-height: 48px;
        text-align: center;
        font-size: 13px;
        padding: 0 10px;
        &.focus {
          border: 1px solid #44b549;
          line-height: 49px;
          background-color: #fff;
          color: #44b549;
        }
      }
      & > ul {
        height: 50px;
        width: (317-41)px;
        &.col-1 > li {
          width: 100%;
        }
        &.col-2 > li {
          width: 50%;
        }
        &.col-3 > li {
          width: 33.33%;
        }
        & > li {
          display: block;
          float: left;
          position: relative;
          & > a {
            border-left: 1px solid #CCC;
          }
          & > div {
            position: absolute;
            border: 1px solid #CCC;
            width: 100%;
            bottom: 60px;
            left: 0px;
            display: none;
            &.popup {
              display: block;
            }
            & > ul {
              & > li {
                & > a {
                  border-bottom: 1px solid #CCC;
                  &:last-child {
                    //border: none;
                  }
                }
              }
            }
            i.arraw {
              bottom: -6px;
              display: inline-block;
              width: 0;
              height: 0;
              border-width: 6px;
              border-style: dashed;
              border-color: transparent;
              border-bottom-width: 0;
              border-top-color: #CCC;
              border-top-style: solid;
              position: absolute;
              left: 50%;
              margin-left: -6px;
            }
          }
        }
      }
    }
  }
}

///////////////////// 微信菜单结束 /////////////////////